﻿using DFGK_WMS.Model.DTO;
using DFGK_WMS.Model.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.IRepository
{
    public interface ITInstructRepository: IBaseRepository<TInstruct>
    {
        /// <summary>
        /// 查询指令
        /// </summary>
        /// <param name="totalCount"></param>
        /// <param name="InstructType"></param>
        /// <param name="Status"></param>
        /// <param name="PalletBarcode">垛码</param>
        /// <param name="pageIndex"></param>
        /// <param name="pageSize"></param>
        /// <returns></returns>
        List<TInstructDto> GetTInstructPage(out int totalCount,int? InstructType, int? Status, string? PalletBarcode, int pageIndex = 1, int pageSize = 10);
        bool DelTInstruct(int id);
        /// <summary>
        /// 强制完成
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        bool UpdStatus(int id,out string msg);
    }
}
